package com.example.touch.communication;

import java.util.ArrayList;
import java.util.Collection;

import android.graphics.Point;

import com.example.touch.location.IEvaluableObjectLocation;
import com.example.touch.location.PointLocation2D;
import com.example.touch.location.RoomLocation;

public class MockLocationAdapter implements ILocationPersistentAdapter
{
	@Override
	public Collection<IEvaluableObjectLocation> deserializeObjectLocations() 
	{
		Collection<IEvaluableObjectLocation> testLocations = new ArrayList<IEvaluableObjectLocation>();

		// do change the following args
		IEvaluableObjectLocation objectLocation = new PointLocation2D(187, 600);
		objectLocation.setObjectLocationID("object1");
		objectLocation.setObjectLocationName("Test location 1");
		testLocations.add(objectLocation);
		
		
		/*testLocations.add(new PointLocation2D(0, 0));
		testLocations.add(new PointLocation2D(new Point(0, 0)));
		testLocations.add(new RoomLocation(0, 0, 1, 1));
		testLocations.add(new RoomLocation(new Point(0, 0),new Point(1, 1)));*/
		
		return testLocations;
	}
}
